Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codesearch: correct resource clean up #64

Closed
wants to merge 3 commits into from
Closed

codesearch: correct resource clean up #64

wants to merge 3 commits into from

Conversation

frederich
Copy link

@frederich frederich commented Jan 31, 2018

The PR solves the following problems:

Cindex creates some temporary files during indexing, and a merge creates a ~ and ~~ index file. These temporary files are not cleaned up under Windows or the merge of the indexes fails. The reason for this is the incorrect release of mmap resources.

Furthermore, the Mmap slice is to small on large indices and a csearch fails.

The fixes of PR #34 are also included.

The .gitattributes file from Go has been adopted.

Fixed #50

@frederich frederich closed this May 30, 2018
@frederich
Copy link
Author

I use my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

index: merge of index fails
1 participant